package com.souku.finance.application.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Android on 2017/1/18.
 * 支付订单
 */

public class PaySuccessBean implements Parcelable {

    public PaySuccessBean(String dealName, String money) {
        this.dealName = dealName;
        this.money = money;
    }

    private String dealName;
    private String money;
    private String date;

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getDealName() {
        return dealName;
    }

    public void setDealName(String dealName) {
        this.dealName = dealName;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.dealName);
        dest.writeString(this.money);
        dest.writeString(this.date);
    }

    public PaySuccessBean() {
    }

    protected PaySuccessBean(Parcel in) {
        this.dealName = in.readString();
        this.money = in.readString();
        this.date = in.readString();
    }

    public static final Parcelable.Creator<PaySuccessBean> CREATOR = new Parcelable.Creator<PaySuccessBean>() {
        @Override
        public PaySuccessBean createFromParcel(Parcel source) {
            return new PaySuccessBean(source);
        }

        @Override
        public PaySuccessBean[] newArray(int size) {
            return new PaySuccessBean[size];
        }
    };
}
